package crp.services.api.graphql.models;

import lombok.Getter;
import lombok.Setter;
import org.eclipse.microprofile.graphql.Input;

import javax.validation.constraints.NotNull;
import java.util.Set;

@Input("CreateRoleInput")
@Getter
@Setter
public class CreateRoleInput {
    @NotNull
    private String name;
    @NotNull
    private Set<String> permissions;
}
